package org.springblade.mes.purchase.order.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.mes.purchase.order.entity.OrderDetail;
import org.springblade.mes.purchase.order.model.OrderDetailBean;

import java.util.List;

@DS("purchase")
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    List<OrderDetailBean> queryList(@Param("entity") OrderDetailBean entity);

    List<OrderDetailBean> queryPageList(IPage page, @Param("entity") OrderDetailBean entity);

}
